Add path annotation to apibindings#3691
Conversation
0ce8c8a to
1e17495
Compare
be46ed4 to
d10aecd
Compare
|
moving to draft. some strange errors pop up. Investigating. |
|
/test all |
b7a09dc to
bcfb633
Compare
bcfb633 to
4cadc05
Compare
|
/retest |
|
Another approach would be to:
Maybe this divides the responsibilities a bit better? But it may be that I'm missing some knowledge about why it is done like that in the first place :P |
|
Also, existing APIBindings are not updated right? Is that a problem? |
So my code is attempting to do option 2: And it still gets updated/added once a logical cluster is added and the next resync/ status update. |
|
I agree 👍 /lgtm |
|
LGTM label has been added. DetailsGit tree hash: ce0a2111a22aca51e986c418f7d76cd7090bf820 |
4cadc05 to
1736b49
Compare
Signed-off-by: Mangirdas Judeikis <mangirdas@judeikis.lt> On-behalf-of: @SAP mangirdas.judeikis@sap.com
|
/retest |
|
/lgtm We know the limitations, but it's better than the alternatives. And the limitations don't seem to be very serious. |
|
LGTM label has been added. DetailsGit tree hash: 2ddcde036236088f0320e92a0d243108434f2132 |
|
For my own understanding: For just resolving the cluster ID to the workspace path, one could (like the syncagent does) simply also claim logicalclusters, right? /approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xrstf The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Yeah you said that already in the ticket. Nevermind. ^^ |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
Summary
This adds path annotation to apibindings. APIbindings are accessible via VirtualWorkspaces. This means providers will be able to resolve the canonical path and cluster more easily.
Caveat: there is a race condition with logicalcluster. But it resolves quite quickly due to the binding handshake, which is followed by the update. Not ideal, but the alternatives (the ones I could think of) were even more hacky.
What Type of PR Is This?
/kind feature
Related Issue(s)
Fixes #3673
Release Notes